package com.cq.hd.order.api.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商户订单统计
 *
 * @author much
 * @since 2024/07/04 23:20
 */
@Data
public class MerchantOrderStatisticsSheet implements Serializable {

    @ExcelProperty(value = "总订单数", index = 0)
    @ColumnWidth(20)
    @ApiModelProperty(value = "总订单数")
    private Integer totalOrderNum;

    @ExcelProperty(value = "核销金额合计", index = 1)
    @ColumnWidth(20)
    @ApiModelProperty(value = "核销金额合计")
    private BigDecimal totalGoodsPrice;

    @ExcelProperty(value = "订单本金合计", index = 2)
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单本金合计")
    private BigDecimal totalMerchantAmt;

    @ExcelProperty(value = "订单补贴合计", index = 3)
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单补贴合计")
    private BigDecimal totalSubsidyAmt;

    @ExcelProperty(value = "下单人数", index = 4)
    @ColumnWidth(20)
    @ApiModelProperty(value = "下单人数")
    private BigDecimal userNum;

}
